package cn.exrick.xboot.modules.your.serviceimpl;

import cn.exrick.xboot.modules.your.dao.mapper.FeedBackMapper;
import cn.exrick.xboot.modules.your.entity.FeedBack;
import cn.exrick.xboot.modules.your.service.IFeedBackService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 陪护床接口实现
 * @author chenyunxuan
 */
@Slf4j
@Service
@Transactional
public class IFeedBackServiceImpl extends ServiceImpl<FeedBackMapper, FeedBack> implements IFeedBackService {

    @Autowired
    private FeedBackMapper feedBackMapper;


    @Override
    public IPage<FeedBack> feedPage(Page initMpPage, QueryWrapper<FeedBack> qw) {
        return feedBackMapper.feedPage(initMpPage,qw);
    }
}